package com.zghhost.stockweb.constans;

import java.io.File;

/**
 * @author guohua.zhang@zhaopin.com.cn
 * @Date 2019/5/18 12:59
 */
public class SInaConstans {
    public static final String DANDAN_LOCAL_PATH = System.getProperty("user.home")+ File.separator+"stock_storage"+File.separator+"dadan"+File.separator;

    public static final String DADAN_URL = "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/CN_Bill.GetBillList?symbol=%s&num=10000000&page=1&sort=ticktime&asc=0&volume=40000&amount=0&type=0&day=%s#";

    public static final String ALL_GEGU = "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeData?page=%s&num=100&sort=changepercent&asc=0&node=hs_a&symbol=&_s_r_a=page#";

    static {
        new File(DANDAN_LOCAL_PATH).mkdirs();
    }
}
